package com.hjb.service.mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hjb.service.domain.withdraw.PayCashWithdraw;
import com.hjb.service.domain.withdraw.PayCashWithdrawExample;
import com.hjb.service.mybatis.BaseMapper;

public interface PayCashWithdrawMapper extends BaseMapper<PayCashWithdraw> {
    int countByExample(PayCashWithdrawExample example);

    int deleteByExample(PayCashWithdrawExample example);

    List<PayCashWithdraw> selectByExample(PayCashWithdrawExample example);

    int updateByExampleSelective(@Param("record") PayCashWithdraw record, @Param("example") PayCashWithdrawExample example);

    int updateByExample(@Param("record") PayCashWithdraw record, @Param("example") PayCashWithdrawExample example);
    
    /**
     * 根据日期查询提现金额
     * @param params
     * @return
     */
    BigDecimal queryWithdrawAnoumtByDate(Map<String,Object> params);
}